package com.funny.stock.trade.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description  
 * @Author  pengl
 * @Date 2020-11-18 
 */

@Entity
@Table ( name ="t_day_trade_plan" )
public class DayTradePlanDO  implements Serializable {

	private static final long serialVersionUID =  2116382624810212473L;

   	@Column(name = "id" )
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Id
	private Long id;

   	@Column(name = "stock_code" )
	private String code;

	@Column(name = "stock_name" )
	private String stockName;

	/**
	 * 计划状态.未启动0，交易中1，已停止2
	 */
   	@Column(name = "status" )
	private Integer status;

   	@Column(name = "is_delete" )
	private Integer isDelete;

   	@Column(name = "compose_id" )
	private Long composeId;

   	@Column(name = "is_loop_trade" )
	private Integer isLoopTrade;

   	@Column(name = "is_loop_monitor" )
	private Integer isLoopMonitor;

   	@Column(name = "is_trade_notify" )
	private Integer isTradeNotify;

   	@Column(name = "is_monitor_notify" )
	private Integer isMonitorNotify;

   	@Column(name = "monitor_increase_per" )
	private BigDecimal monitorIncreasePer;

	@Column(name = "monitor_decrease_per" )
	private BigDecimal monitorDecreasePer;

	@Column(name = "trade_increase_per" )
	private BigDecimal tradeIncreasePer;

	@Column(name = "trade_decrease_per" )
	private BigDecimal tradeDecreasePer;

   	@Column(name = "trade_stock_num" )
	private Long tradeStockNum;

	/**
	 * 1-5
	 */
   	@Column(name = "trade_price_type" )
	private Integer tradePriceType;



   	@Column(name = "end_date" )
	private Date endDate;

   	@Column(name = "end_time" )
	private Date endTime;

   	@Column(name = "start_time" )
	private Date startTime;

   	@Column(name = "create_id" )
	private Long createId;

   	@Column(name = "create_time" )
	private Date createTime;

   	@Column(name = "update_id" )
	private Long updateId;

   	@Column(name = "update_time" )
	private Date updateTime;


	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}

	public Long getComposeId() {
		return composeId;
	}

	public void setComposeId(Long composeId) {
		this.composeId = composeId;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getIsLoopTrade() {
		return this.isLoopTrade;
	}

	public void setIsLoopTrade(Integer isLoopTrade) {
		this.isLoopTrade = isLoopTrade;
	}

	public Integer getIsLoopMonitor() {
		return this.isLoopMonitor;
	}

	public void setIsLoopMonitor(Integer isLoopMonitor) {
		this.isLoopMonitor = isLoopMonitor;
	}

	public Integer getIsTradeNotify() {
		return this.isTradeNotify;
	}

	public void setIsTradeNotify(Integer isTradeNotify) {
		this.isTradeNotify = isTradeNotify;
	}

	public Integer getIsMonitorNotify() {
		return this.isMonitorNotify;
	}

	public void setIsMonitorNotify(Integer isMonitorNotify) {
		this.isMonitorNotify = isMonitorNotify;
	}

	public BigDecimal getMonitorIncreasePer() {
		return monitorIncreasePer;
	}

	public void setMonitorIncreasePer(BigDecimal monitorIncreasePer) {
		this.monitorIncreasePer = monitorIncreasePer;
	}

	public BigDecimal getMonitorDecreasePer() {
		return monitorDecreasePer;
	}

	public void setMonitorDecreasePer(BigDecimal monitorDecreasePer) {
		this.monitorDecreasePer = monitorDecreasePer;
	}

	public BigDecimal getTradeIncreasePer() {
		return tradeIncreasePer;
	}

	public void setTradeIncreasePer(BigDecimal tradeIncreasePer) {
		this.tradeIncreasePer = tradeIncreasePer;
	}

	public BigDecimal getTradeDecreasePer() {
		return tradeDecreasePer;
	}

	public void setTradeDecreasePer(BigDecimal tradeDecreasePer) {
		this.tradeDecreasePer = tradeDecreasePer;
	}

	public Long getTradeStockNum() {
		return this.tradeStockNum;
	}

	public void setTradeStockNum(Long tradeStockNum) {
		this.tradeStockNum = tradeStockNum;
	}

	public Integer getTradePriceType() {
		return this.tradePriceType;
	}

	public void setTradePriceType(Integer tradePriceType) {
		this.tradePriceType = tradePriceType;
	}


	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Long getCreateId() {
		return this.createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateId() {
		return this.updateId;
	}

	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
